package cn.abyss.admin.enums;

/**
 * Description:
 *
 * @author zhangsj
 * @date Created on 2020/12/2
 */
public enum BaseAdminWebExceptionLevelEnum {
    INTERNAL_EXCEPTION(1, "内部异常"),
    PROMPT_ERROR(3, "提示错误"),
    PROMPT_INFO(5, "提示信息");

    private final int code;
    private final String message;

    private BaseAdminWebExceptionLevelEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
